//
//  UIView+Frame.m
//  NekaPrice
//
//  Created by yu on 2018/6/22.
//  Copyright © 2018年 ma c. All rights reserved.
//

#import "UIView+Frame.h"

@implementation UIView (Frame)

- (CGFloat)width {
    return self.frame.size.width;
}

- (CGFloat)height {
    return self.frame.size.height;
}

- (CGFloat)x {
    return self.frame.origin.x;
}

- (CGFloat)y {
    return self.frame.origin.y;
}





@end
